package com.scj.vue3springboot.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.scj.vue3springboot.entity.SysRole;
import com.scj.vue3springboot.entity.vo.RoleMenuVo;
import com.scj.vue3springboot.util.Result;

/**
* @author 86182
* @description 针对表【sys_role(角色信息表)】的数据库操作Service
* @createDate 2023-10-11 11:09:09
*/
public interface SysRoleService extends IService<SysRole> {

    Result findAllUserInfo(Integer page, Integer limit, SysRole sysRole);

    Result addRole(SysRole sysRole, String token);

    Result updateRole(SysRole sysRole, String token);

    Result deleteRole(Long roleId, String token);

    Result findAllRoleAndMenuRole(Long roleId);

    Result addRoleMenu(RoleMenuVo roleMenuVo);
}
